<extend name="Public/base"/>
<block name="content">
    <div class="admin-content">
        <div class="admin-content-body">
            <div class="am-cf am-padding am-padding-bottom-0">
                <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">中奖列表</strong>  <small></small></div>
            </div>

            <hr>
            <div class="am-g">
                <div class="am-u-sm-12">
                    <form class="am-form">
                        <table class="am-table am-table-striped am-table-hover table-main">
                            <thead>
                            <tr>
                                <th class="table-title">期号</th>
                                <th class="table-title">中奖用户</th>
                                <th class="table-url">钱包地址</th>
                                <th class="table-url">收件人姓名</th>
                                <th class="table-url">收件手机号</th>
                                <th class="table-url">收件地址</th>
                                <th class="table-type">奖品</th>
                                <th class="table-type">奖品价值（USDT）</th>
                                <th class="table-set">满标标数</th>
                                <th class="table-set">投注标数</th>
                                <th class="table-set">开奖时间</th>
                                <th class="table-set">是否确认领奖</th>
                            </tr>
                            </thead>
                            <tbody>
                            <volist name="data" id="vo">
                                <tr>
                                    <td>第{$vo.lottery_id}期</td>
                                    <td>{$vo.username}</td>
                                    <td>{$vo.address}</td>
                                    <td>{$vo.lottery_name}</td>
                                    <td>{$vo.lottery_phone}</td>
                                    <td>{$vo.lottery_address}</td>
                                    <td>{$vo.award}</td>
                                    <td>{$vo.award_price}</td>
                                    <td>{$vo.mark_number}</td>
                                    <td>{$vo.number|default=0}</td>
                                    <td>{$vo.lottery_time|date='Y-m-d H:i:s',###}</td>
                                    <td>
                                        <if condition="$vo.is_sure eq 0">
                                            待确认
                                            <else />
                                            已支付服务费
                                        </if>
                                    </td>
                                </tr>
                            </volist>
                            </tbody>
                        </table>
                        <div class="am-cf">
                            共 {$count} 条记录
                            <div class="am-fr">
                                <ul class="am-pagination">
                                    {$show}
                                </ul>
                            </div>
                        </div>
                    </form>
                </div>

            </div>
        </div>

        <footer class="admin-content-footer">
            <hr>
            <!--p class="am-padding-left">© 2014 AllMobilize, Inc. Licensed under MIT license.</p>-->
        </footer>

    </div>

</block>